import { get, post } from '@/utils/request'
// const BASE_URL = window.baseUrl
const BASE_URL = window.accessServer
// 查询督办详情
export function getDetail(query) {
  return get(BASE_URL + '/supervision/detail/' + query)
}
// 查询分页列表
export function getLists(query) {
  console.log(query);
  return post(BASE_URL + '/supervision/page', query)
}
// 创建督办信息
export function saveData(query) {
  return post(BASE_URL + '/supervision/save', query)
}